package org.grow.jpa2.dao;

import org.grow.jpa2.entity.StudentScore;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author: xwg
 * @CreateDate: 21-5-27
 */
@Repository
public interface StudentScoreJpa extends
        JpaRepository<StudentScore,Integer>,
        JpaSpecificationExecutor<StudentScore> {

    List<StudentScore> findByNameLike(String name);
}
